package com.system.entry;

import java.util.Scanner;

public class StudentEntry {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //InterfaceStudentController studentController=Factory.getStudentController();
        //InterfaceTeacherController teacherController=Factory.getTeacherController();

        while (true) {
            System.out.println("--------欢迎来到黑马信息管理系统--------");
            System.out.println("请输入您的选择: 1.学生管理  2.老师管理  3.查看日志  4.退出");
            int choice = sc.nextInt();
            switch (choice) {
                case 1:
                    studentController.studentMainInterface();
                    break;
                case 2:
                    teacherController.teacherMainInterface();
                    break;
                case 3:
                    logReader.logMainInterface
                    break;
                case 4:
                    System.out.println("感谢您的使用");
                    return;
                default:
                    System.out.println("输入正确的数字");
            }
        }
    }
}
